package itheima.d07;

import java.time.LocalDate;

//掌握jdk8中的日期时间类
public class Test {
    public static void main(String[] args) {
        //获取当前时间
        System.out.println(java.time.LocalDateTime.now());
        LocalDate now = LocalDate.now();
        System.out.println(now);


        LocalDate localDate = LocalDate.of(2025, 10, 11);
        System.out.println(localDate);
    }
}
